You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*,orders.cusnum AS d_cusnum from
LEFT JOIN orders ON .ref = orders.ref
where .' at line 1
Shell | $ | |
---|---|---|
OVINOTIS OVINA |
6.00 | |
CLAVUS ANGULATUS |
8.00 | |
CHICOREUS TORREFACTUS |
6.00 | |
TEREBRA HECTICA |
6.00 | |
MITRA PAPALIS |
20.00 | |
ANGARIA POPPEI |
8.00 | |
Total: | 54.00 |